import ajax from '@/api/apiConfig.js'

/* 通信服务器在线 */
export const getDataTransmitStatus = (data) => {
  return ajax.get('platMonitor/getDataTransmitStatus', data)
}

/* 平台访问量 */
export const getPlatformVisits = (data) => {
  return ajax.get('platMonitor/getPlatformVisits', data)
}

/* 平台吞吐量 */
export const getPlatformthroughput = (data) => {
  return ajax.get('platMonitor/getPlatformthroughput', data)
}

/* 平台响应时间 */
export const getPlatformResponseTime = (data) => {
  return ajax.get('platMonitor/getPlatformResponseTime', data)
}

/* 获取服务器列表 */
export const getServerInfoList = (data) => {
  return ajax.get('platMonitor/getServerInfoList', data)
}

/* 服务器性能 */
export const getServerInfo = (data) => {
  return ajax.get('platMonitor/getServerInfo', data)
}

/* 数据处理省份TOP5 */
export const getAreaDataTop = (data) => {
  return ajax.get('platMonitor/getAreaDataTop', data)
}

/* 邮件统计 */
export const getMailNumByType = (data) => {
  return ajax.get('platMonitor/getMailNumByType', data)
}

/* 短信统计 */
export const getMessageNumByType = (data) => {
  return ajax.get('platMonitor/getMessageNumByType', data)
}

/* 平台用户统计 */
export const getUserNumStatistic = (data) => {
  return ajax.get('platMonitor/getUserNumStatistic', data)
}
